package com.zimin.cloud.file.repository;

import com.zimin.cloud.file.pojo.entity.FileMapping;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zimin
 * @since 2022/3/30 10:48 上午
 */
@Repository
public interface IFileMappingRepository extends MongoRepository<FileMapping, String> {

    FileMapping findByUnique(String unique);

}
